package com.director.core.json;

import com.director.core.DirectMethod;
import com.director.core.DirectTransactionResult;

/**
 * Author: Simone Ricciardi
 * Date: 30-mag-2010
 * Time: 11.52.48
 */
public interface JsonParser {

   <T> T parse(String json, Class<T> type);

   String format(Object object);

   DirectTransactionResult buildResult(DirectMethod directMethod, Object result);
}
